home *** CD-ROM | disk | FTP | other *** search
/ PC Player 2004 May / pc player 2004-05.iso / Demos / FarCry / Data1.cab / _6117F1B96CCA4D55822E6B7A0882EED9 < prev    next >
Encoding:
Text File  |  2004-01-06  |  3.0 KB  |  92 lines

  1. Script:LoadScript("scripts/materials/commoneffects.lua");
  2. Materials["mat_bullseye"] = {
  3.     type="bullseye",
  4. -------------------------------------    
  5.     PhysicsSounds=PhysicsSoundsTable.Soft,
  6. -------------------------------------
  7.     bullet_hit = {
  8.         sounds = {
  9.             --{"Sounds/bullethits/headbullet1.wav",SOUND_UNSCALABLE,220,10,80},
  10.             --{"Sounds/bullethits/headbullet2.wav",SOUND_UNSCALABLE,220,10,80},
  11.             --{"Sounds/bullethits/headbullet3.wav",SOUND_UNSCALABLE,220,10,80},
  12.             {"Sounds/bullethits/headbullet11.wav",SOUND_UNSCALABLE,220,10,80},
  13.             --{"Sounds/explosions/explosion2.wav",SOUND_UNSCALABLE,200,10,80},
  14.         },
  15.         
  16.         particleEffects = {
  17.             name = "bullet.hit_bullseye.a",
  18.         },
  19.     },
  20.  
  21.     pancor_bullet_hit = {
  22.         sounds = {
  23.             --{"Sounds/bullethits/headbullet1.wav",SOUND_UNSCALABLE,220,10,80},
  24.             --{"Sounds/bullethits/headbullet2.wav",SOUND_UNSCALABLE,220,10,80},
  25.             --{"Sounds/bullethits/headbullet3.wav",SOUND_UNSCALABLE,220,10,80},
  26.             {"Sounds/bullethits/headbullet11.wav",SOUND_UNSCALABLE,220,10,80},
  27.             --{"Sounds/explosions/explosion2.wav",SOUND_UNSCALABLE,200,10,80},
  28.         },
  29.         
  30.         particleEffects = {
  31.             name = "bullet.hit_bullseye_pancor.a",
  32.         },
  33.     },
  34.  
  35.     shocker_hit = {
  36.         particleEffects = {
  37.             name = "bullet.hit_bullseye.a",
  38.         },
  39.     },    
  40.     
  41.     
  42.         -------------------------
  43.     melee_punch = {
  44.         sounds = {
  45.             {"sounds/objectimpact/hit1.wav",SOUND_UNSCALABLE,255,5,30},
  46.             {"sounds/objectimpact/hit2.wav",SOUND_UNSCALABLE,255,5,30},
  47.             {"sounds/objectimpact/hit3.wav",SOUND_UNSCALABLE,255,5,30},
  48.             {"sounds/objectimpact/hit4.wav",SOUND_UNSCALABLE,255,5,30},
  49.             {"sounds/objectimpact/hit5.wav",SOUND_UNSCALABLE,255,5,30},
  50.             {"sounds/objectimpact/hit6.wav",SOUND_UNSCALABLE,255,5,30},
  51.             {"sounds/objectimpact/hit7.wav",SOUND_UNSCALABLE,255,5,30},
  52.             {"sounds/objectimpact/hit8.wav",SOUND_UNSCALABLE,255,5,30},
  53.             
  54.         },
  55.     },
  56.     melee_slash = {
  57.         sounds = {
  58.             {"sounds/objectimpact/Mslash1.wav",SOUND_UNSCALABLE,185,5,30},
  59.             {"sounds/objectimpact/Mslash2.wav",SOUND_UNSCALABLE,185,5,30},
  60.             {"sounds/objectimpact/Mslash3.wav",SOUND_UNSCALABLE,185,5,30},
  61.             {"sounds/objectimpact/Mslash4.wav",SOUND_UNSCALABLE,185,5,30},
  62.             {"sounds/objectimpact/Mslash5.wav",SOUND_UNSCALABLE,185,5,30},
  63.             {"sounds/objectimpact/Mslash6.wav",SOUND_UNSCALABLE,185,5,30},
  64.             {"sounds/objectimpact/Mslash7.wav",SOUND_UNSCALABLE,185,5,30},
  65.             {"sounds/objectimpact/Mslash8.wav",SOUND_UNSCALABLE,185,5,30},
  66.         },
  67.         particles = CommonEffects.common_machete_hit_flesh_part.particles,
  68. --        decal = { 
  69. --            texture = System:LoadTexture("Textures/Decal/flesh_slash.dds"),
  70. --            scale = 0.20,
  71. --        },
  72.  
  73.     },
  74.  
  75.     projectile_hit = CommonEffects.common_projectile_hit,
  76.     mortar_hit = CommonEffects.common_mortar_hit,
  77.     smokegrenade_hit = CommonEffects.common_smokegrenade_hit,
  78.     flashgrenade_hit = CommonEffects.common_flashgrenade_hit,
  79.     grenade_hit = CommonEffects.common_grenade_hit,
  80. -------------------------------------
  81.     gameplay_physic = {
  82.         piercing_resistence = 15,
  83.         friction = 0.4,
  84.         bouncyness= -2, -- default 0
  85.     },
  86.  
  87.     AI = {
  88.         fImpactRadius = 5,
  89.     },
  90.  
  91.  
  92. }